package com.orcwar.enums;

public enum OWTileType {

	GROUND("G", true, true),
	WALL("W", false, false),
	WATER("~", false, true);
	
	private final String smallName;
	
	private final boolean allowsMovement;

	private final boolean allowsAttacks;
	
	private OWTileType(String smallName, boolean allowsMovement,
			boolean allowsAttacks) {
		this.smallName = smallName;
		this.allowsMovement = allowsMovement;
		this.allowsAttacks = allowsAttacks;
	}

	public String getSmallName() {
		return smallName;
	}
	
	public boolean allowsMovement() {
		return this.allowsMovement;
	}

	public boolean allowsAttacks() {
		return this.allowsAttacks;
	}

}
